package merchant.service;

import java.util.Map;

import merchant.dao.Merchant;
import merchant.dao.MerchantDAO;

import hackathon1212.ServletPojoAdapter;

public class ShowMerchantDetails extends ServletPojoAdapter {
	private static final long serialVersionUID = 5659978382996014908L;

	protected Merchant getBusinessMethod(Map<String, String[]> params){		
		final String merchantNumber = params.get("merchantNumber")[0];
		return MerchantDAO.get().getByMerchantNumber(merchantNumber);
	}

}
